projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b13f8bd
)
(perform-replace): Don't set inhibit-read-only using
author
Chong Yidong
<cyd@stupidchicken.com>
Fri, 12 Sep 2008 00:37:41 +0000
(
00:37
+0000)
committer
Chong Yidong
<cyd@stupidchicken.com>
Fri, 12 Sep 2008 00:37:41 +0000
(
00:37
+0000)
query-replace-skip-read-only (bug#956).
lisp/replace.el
patch
|
blob
|
history
diff --git
a/lisp/replace.el
b/lisp/replace.el
index 086380ffc4c593cab21ab0febc8c58654d2b348e..5efbe417b0460b8b15c15310619b0fb7c2b370f4 100644
(file)
--- a/
lisp/replace.el
+++ b/
lisp/replace.el
@@
-1665,8
+1665,7
@@
make, or the user didn't cancel the call."
(funcall (car replacements) (cdr replacements)
replace-count)))
(if (not query-flag)
- (let ((inhibit-read-only
- query-replace-skip-read-only))
+ (progn
(unless (or literal noedit)
(replace-highlight
(nth 0 real-match-data) (nth 1 real-match-data)